package domain;

public class Dog {
    //私有属性
    private String name;
    private int age;
   public static String home="软帝";

    public Dog(String name, int age,String home) {
        this.name = name;
        this.age = age;
        this.home=home;
    }

    public Dog() {
    }

    public void show(){
        System.out.println(name+" "+age+" "+home);
    }
}
